git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a828c9
)
Revert "Make sure that mousing over Chrome "internal div" elements results in no...
author
Anton M
<obhvsbypqghgc@gmail.com>
Tue, 8 Feb 2011 16:08:25 +0000
(17:08 +0100)
committer
Anton M
<obhvsbypqghgc@gmail.com>
Tue, 8 Feb 2011 16:08:25 +0000
(17:08 +0100)
This reverts commit
4a828c93d40eb67b2041b08bbed0f1973442bd03
.
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
a17cf89
..
f3a5d9f
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-652,15
+652,13
@@
var withinElement = function( event ) {
// Firefox sometimes assigns relatedTarget a XUL element
// which we cannot access the parentNode property of
- // Chrome does something similar, the parentNode property
- // can be accessed but is null.
try {
// Traverse up the tree
while ( parent && parent !== this ) {
parent = parent.parentNode;
}
- if ( parent && parent !== this ) {
+ if ( parent !== this ) {
// set the correct event type
event.type = event.data;